Labels are a name for a location within a script. Labels must end with a colon (:). The label can be up to 20 characters in length (including the colon). Labels must appear on a line by themselves. Labels are not case sensitive. Here is an example:
TOP:
#Num = #Num +1
If #Num < 22
$Temp = $Temp + @ ("Prem/OpsPrem" & #Num)
GOTO TOP:
END
Labels are frequently used as the destination of a GOTO flow statement. For more information about flow statements, see Flow Control Statements.
© Copyright 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices